Creates a new OrderingCriteria<TEntity> instance.

Namespace: Keystone.Carbonite.Linq
Assembly: Keystone.Carbonite.Linq (in Keystone.Carbonite.Linq.dll)

public OrderingCriteria( 
OrderingType type
Func<TEntity, object> orderingFunction 
)
This language is not supported or no code example is available.

Parameters

type

Type: OrderingType

The OrderingType.

orderingFunction

Type: Func<TEntity, object>

The ordering function.

Exception type Condition

ArgumentException

If a null reference (Nothing in Visual Basic) value is given for the orderingFunction argument.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono